type: object
properties:
  id:
    description: Unique identifier for the revision.
    example: 1
    type: integer
  activity:
    description: Unique identifier for the activity record.
    example: 2
    oneOf:
      - type: integer
      - $ref: '../openapi.yaml#/components/schemas/Activity'
  collection:
    description: Collection of the updated item.
    example: articles
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Collections'
  item:
    description: Primary key of updated item.
    example: '168'
    type: string
  data:
    description: Copy of item state at time of update.
    example:
      author: 1
      body: This is my first post
      featured_image: 15
      id: '168'
      title: Hello, World!
    type: object
    nullable: true
  delta:
    description: Changes between the previous and the current revision.
    example:
      title: Hello, World!
    type: object
  parent:
    description: If the current item was updated relationally, this is the id of the parent revision record
    example: null
    type: integer
    nullable: true
  version:
    description: Associated version of this revision.
    example: draft
    oneOf:
      - type: string
      - $ref: '../openapi.yaml#/components/schemas/Versions'
